/*
 * Copyright (c) 2015 Uwantsoft Ltd.
 * www.uwantsoft.com
 * All rights reserved.
 * This software is the confidential and proprietary information of
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement you
 * entered into with Uwantsoft.
 */

package com.uwantsoft.business.facade.dto.city;

import com.uwantsoft.util.validator.IsPositiveBigDecimal;
import com.uwantsoft.util.validator.IsPositiveInteger;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author Leipeichen.
 */
public class CityFormDto {

    private String guid;
    @NotEmpty(message = "名字不能为空")
    private String name;
    @NotEmpty(message = "首字母不能为空")
    private String code;
    @IsPositiveBigDecimal(message = "请输入正确的Predefined price")
    private String predefinedPrice;
    @IsPositiveInteger(message = "请输入正确的Predefined distance")
    private String predefinedDistance;
    @IsPositiveBigDecimal(message = "请输入正确的Price weight")
    private String priceWeight;
    @IsPositiveBigDecimal(message = "请输入正确的Distance weight")
    private String distanceWeight;

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPredefinedPrice() {
        return predefinedPrice;
    }

    public void setPredefinedPrice(String predefinedPrice) {
        this.predefinedPrice = predefinedPrice;
    }

    public String getPredefinedDistance() {
        return predefinedDistance;
    }

    public void setPredefinedDistance(String predefinedDistance) {
        this.predefinedDistance = predefinedDistance;
    }

    public String getPriceWeight() {
        return priceWeight;
    }

    public void setPriceWeight(String priceWeight) {
        this.priceWeight = priceWeight;
    }

    public String getDistanceWeight() {
        return distanceWeight;
    }

    public void setDistanceWeight(String distanceWeight) {
        this.distanceWeight = distanceWeight;
    }

}
